<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>

<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<jsp:include page="/core/tool/resources.jsp"></jsp:include>

	<script type="text/javascript">
		function click_row_delete() {
			$('#dg').edatagrid('destroyRow');
		}
	</script>

</head>

<body>

	<div id="toolbar">
		<a class="easyui-linkbutton" iconCls="icon-reload" onclick="$('#dg').edatagrid('reload')">刷新</a>
		<a class="easyui-linkbutton" iconCls="icon-remove" onclick="$('#dg').edatagrid('destroyRow')">删除</a>
	</div>
	
	<table id="dg"  class="easyui-edatagrid"  sortOrder='desc' sortName='startTime'
            data-options="rownumbers:true, singleSelect:true, pagination:true, pageSize:20, fit:true, 
             	toolbar:'#toolbar',
            	url:'./joblog.json',
            	destroyUrl:'./joblogdelete.json'
            ">
        <thead>
            <tr>
           	 	<th data-options="field:'jobCode',width:150">任务名</th>
                <th data-options="field:'startTime', editor:'datetimebox', sortable:true,width:150">开始时间</th>
                <th data-options="field:'endTime', editor:'datetimebox',width:150">结束时间</th>
                <th data-options="field:'status',width:60 ">是否成功</th>
                <th data-options="field:'desp' ,width:400">说明</th>
            </tr>
        </thead>
    </table>
    

 
</body>
</html>